<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>添加求职经历</title>
        <meta name="keywords" content=""/>
        <meta name="description" content=""/>
        <meta http-equiv="X-UA-Compatible" content="IE=7"/>
        <link rel="stylesheet" type="text/css" href="css/reset.css" />
        <link rel="stylesheet" type="text/css" href="css/myresume.css" />
    </head>
    <body>
        <div id="interactive-box" class="dialog" style="min-width: 770px; z-index: 99999; left: 247px; top: 976px; width: auto;">
            <div class="top"><div class="corner"></div></div>
            <div class="body">
                <div class="client"><form method="post" action="?c=MyResume&a=JobHistoryAdd">
                        <input type="hidden" value="<?= $uid ?>" name="userid">
                        <input type="hidden" value="<?=$id?>"name="id" />
                        <table width="100%" class="form">
                            <colgroup><col width="100">
                                <col width="12">
                            </colgroup>
                            <tbody>
                                <tr>
                                    <td class="label">时间:</td>
                                    <td class="aster">*</td>
                                    <td class="input">
                                        <input type="hidden" value="" name="date" id="startyearmonth-input">
                                        <select id="startyearmonth-input-year" name="getYear">
                                            <option value="0">年份</option>
                                            <?php
                                                $thisyear = date("Y");
                                                for($year=1994; $year<=$thisyear; $year++){
                                                    if($dataInfo['getyear'] == $year){
                                                        echo '<option value="'.$year.'" selected>'.$year.'</option>';
                                                    }else{
                                                        echo '<option value="'.$year.'">'.$year.'</option>';
                                                    }
                                                }
                                            ?>
                                        </select> 年
                                        <select id="startyearmonth-input-month" name="getMonth">
                                            <option value="0">月份</option>
                                           <?php
                                                for($month=1; $month<=12; $month++){
                                                    if($dataInfo['getmonth'] == $month){
                                                        echo '<option value="'.$month.'" selected>'.$month.'</option>';
                                                    }else{
                                                        echo '<option value="'.$month.'">'.$month.'</option>';
                                                    }
                                                }
                                            ?>
                                        </select> 月
                                    </td>
                                </tr>
                                <tr>
                                    <td class="label">类型:</td>
                                    <td class="aster">*</td>
                                    <td class="input">
                                        <?php
                                            if(!empty($jobhistorytype) && is_array($jobhistorytype)){
                                                foreach ($jobhistorytype as $jhkey=>$jhval){
                                                    if($dataInfo['jobtype'] == $jhkey){
                                                        echo '<input type="radio" value="'.$jhkey.'" name="type" id="type0-input" checked><label class="checkbox" for="type'.$jhkey.'-input">'.$jhval.'</label>&nbsp;&nbsp;';
                                                    }else{
                                                        echo '<input type="radio" value="'.$jhkey.'" name="type" id="type0-input"><label class="checkbox" for="type'.$jhkey.'-input">'.$jhval.'</label>&nbsp;&nbsp;';
                                                    }
                                                }
                                            }
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="label">公司名称:</td>
                                    <td class="aster">*</td>
                                    <td class="input">
                                        <div class="matchbox">
                                            <div class="clearfix">
                                                <input type="text" value="<?php echo empty ($id) ? '' : $dataInfo['company']; ?>" maxlength="80" name="company" class="text" id="employer-input" autocomplete="off">
                                            </div>
                                            <div class="pickpane" style="width: 224px; display: none;">
                                                <ul class="menu"></ul>
                                            </div>
                                        </div>
                                        <input type="hidden" value="" name="cid" id="employer-hidden">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="label">职位名称:</td>
                                    <td class="aster"></td>
                                    <td style="position:relative;" class="input">
                                        <div style="position:relative;">
                                            <input type="text" value="<?php echo empty ($id) ? '' : $dataInfo['jobname']; ?>" maxlength="60" name="jobname" id="position-input" class="text">
                                        </div>
                                    </td>
                                </tr>
                            </tbody></table>
                        <div class="error">&nbsp;</div>
                        <div class="inputdiv_btn">
                            <button class="big-default" type="submit"><span><span>确定</span></span></button>
                            <button type="button" class="normal" onclick="self.parent.tb_remove()"><span><span>取消</span></span></button>
                        </div>
                        <div class="bottom"><div class="corner"></div></div>
                    </form>

                </div>
            </div>
        </div>
        <script language="javascript" src="js/jquery.js"></script>
        <script language="javascript" src="js/validator.js"></script>
        <script>
            Zvalidator.init();
        </script>
    </body>
</html>